﻿namespace KinonekoSoftware.Studio.Pages.Galleries.Items
{
    public sealed class WeaponGalleryViewModel : TemplatedContentGallery
    {
        private static readonly int[] WeaponExtraTypes = new[]
        {
            (int)WeaponType.Magic,
            (int)WeaponType.Legacy,
            (int)WeaponType.Modern,
            (int)WeaponType.Fantasy,
        };
        
        
        private static string ExtraTypeStringSelector(object value)
        {
            var v = (WeaponType)(value is int n ? n : 0);
            return LanguageManager.GetEnum(v);
        }
    }
}